export const state = {
	userInfo: {}, // 用户信息
};

export const mutations = {
	// 设置用户信息
	setUserInfo(state, data) {
		if (data) {
			state.login = true;
			state.userInfo = Object.assign({}, state.userInfo, data);
			uni.setStorageSync("userInfo", state.userInfo);
		}
	},
};

export const actions = {

};
